package com.example.studentmanager.service;

import com.example.studentmanager.model.Course;
import com.example.studentmanager.model.vo.CourseVo;
import org.springframework.ui.Model;

import java.util.List;

public interface CourseService {
    void addCourse(Course course);
    void deleteCourse(int courseid);
    int searchCourseNum(Course course);
    List<CourseVo> searchAllCourse(Integer page, Integer rows, String searchCol, String searchValue);
    Integer counts(String searchCol,String searchValue);
    void addStuCourse(int sid,int cid);
    void cancelCourse(int sid,int cid);
    void changeCourse(Course course);


}
